/**
 * 按钮
 */
.ui-button {
    display: inline-block;
    font-size: 12px;
    line-height: 18px;
    padding: 0px 12px;
    margin-right: 6px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    *display: inline;
    *zoom: 1;
}
.ui-button {
    background: url(img/icon.png) 0px -103px repeat-x;
    border:  1px solid #7FAFC7;
}
.ui-button-hover {
    background-position: 0px -127px;
}
.ui-button-active {
    background: #F4F4F4;
}
.ui-button-g {
    background:  url(img/icon.png) 0px -55px repeat-x;
    border:  1px solid #7FAFC7;
}
.ui-button-g-hover {
    background-position: 0px -79px;
}
.ui-button-g-active {
    background: #C1E4F7;
}
.ui-button-i {
    height: 21px;
    padding-top: 1px;
    border: 1px solid #F8F8F8;
    position: relative;
    border: 1px solid #F8F8F8;
    background: #F8F8F8;
    margin-right: 5px;
}
.ui-button-i .ui-button-inner {
    height: 20px;
    line-height: 20px;
    border: 0px;
    border-top: 1px solid #F8F8F8;
    padding: 0px 5px 0px 25px;
    background: none;
}
.ui-button-i .ui-button-icon {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    width: 17px;
    height: 17px;
    background: url(img/icon.png) 0px 0px no-repeat;
}
.ui-button-i .ui-button-icon-reset {
    background-position: -37px 0px;
}
.ui-button-i .ui-button-icon-flu {
    background-position: -20px 0px;
}

.ui-button-i-hover {
    border: 1px solid #CCC;
}
.ui-button-i-active {
    border: 1px solid #CCC;
    background: #B7B7B7;
}
.ui-button-i-active .ui-button-inner {
    background: #E6E6E6;
    border-top: 1px solid #D7D7D7;
}
.ui-button-b {
    height: 21px;
    padding-top: 1px;
    border: solid 1px #BCBCBC;
    position: relative;
    background:  url(img/icon.png) -6px -103px repeat-x;
    margin-right: 5px;
}
.ui-button-b .ui-button-inner {
    height: 20px;
    line-height: 20px;
    border: 0px;
    border-top: 1px solid #F8F8F8;
    padding: 0px 5px 0px 25px;
    background: none;
}
.ui-button-b .ui-button-icon {
    position: absolute;
    top: 3px;
    left: 3px;
    display: block;
    width: 17px;
    height: 17px;
    background: url(img/icon.png) 0px 0px no-repeat;
}
.ui-button-b .ui-button-icon-compare {
    background-position: -32px -19px;
    width: 16px;
    height: 15px;
    top: 4px;
    left: 5px;
}
.ui-button-b-hover {
    background-position: 0px -127px;
}
.ui-button-b-active {
    background: #B7B7B7;
}
.ui-button-b-active .ui-button-inner {
    background: #E6E6E6;
    border-top: 1px solid #D7D7D7;
}
/* 下载按钮 */
.ui-download-btn {
    border: 1px solid #9CD167;
    background: #DCEFD1;
    color: #326700;
    padding: 0;
}
.ui-download-btn-hover {
    background-color: #E5F3DD;
}
.ui-download-btn-active {
    background-color: #8DCB6C;
}
.ui-download-btn .ui-button-inner {
    padding: 0 10px 3px 10px;
    line-height: 16px;
    background-color: #DCEFD1;
    border-top: 1px solid #DCEFD1;
    margin-top: 1px;
    -webkit-border-radius: 1px;
    -o-border-radius: 1px;
    -moz-border-radius: 1px;
    -ms-border-radius: 1px;
    border-radius: 1px;    
}
.ui-download-btn-hover .ui-button-inner {
    background-color: #E5F3DD;
    border-top: 1px solid #E5F3DD;
}
.ui-download-btn-active .ui-button-inner {
    border-top: 1px solid #A5D68A;
    background-color: #C2E3B0;
}
.ui-download-btn .ui-button-left {
    background: url(img/icon2.png) -75px -65px no-repeat;
    width: 9px;
    height: 12px;
    overflow: hidden;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    margin-right: 3px;
}
.ui-download-btn .ui-button-text {
    vertical-align: middle;
}
/* 普通按钮 */
.ui-normal-btn {
    border: 1px solid #9CD167;
    background: #DCEFD1;
    color: #326700;
    padding: 0;
}
.ui-normal-btn-hover {
    background-color: #E5F3DD;
}
.ui-normal-btn-active {
    background-color: #8DCB6C;
}
.ui-normal-btn .ui-button-inner {
    padding: 0 10px 3px 10px;
    line-height: 16px;
    background-color: #DCEFD1;
    border-top: 1px solid #DCEFD1;
    margin-top: 1px;
    -webkit-border-radius: 1px;
    -o-border-radius: 1px;
    -moz-border-radius: 1px;
    -ms-border-radius: 1px;
    border-radius: 1px;    
}
.ui-normal-btn-hover .ui-button-inner {
    background-color: #E5F3DD;
    border-top: 1px solid #E5F3DD;
}
.ui-normal-btn-active .ui-button-inner {
    border-top: 1px solid #A5D68A;
    background-color: #C2E3B0;
}
.ui-normal-btn .ui-button-text {
    vertical-align: middle;
}

